package com.yuandian.customer.perception.service;

import com.yuandian.api.customer_perception.po.BasePortraitParams;
import com.yuandian.bpm.common.core.util.R;

/**
 * <p>
 * 步骤事务表 服务类
 * </p>
 *
 * @author lixin
 * @since 2022-04-24
 */
public interface IUserPortraitService {

    /**
     *  操作员菜单访问量排行(TOP5)
     * @return
     */
    R<Object> queryUserOperatorMenuVisitTop5(BasePortraitParams params);

    /**
     *  操作员事项受理量排行(TOP5)
     */
    R<Object> queryUserOperatorProcessCountTop5(BasePortraitParams params);

    /**
     *  事项平均空闲时长排行(TOP5)
     */
    R<Object> queryMatterAvgFreeTimeTop5(BasePortraitParams params);

    /**
     *  事项平均办理时长排行(TOP5)
     */
    R<Object> queryMatterAvgProcessTimeTop5(BasePortraitParams params);


    R<Object> queryVisitAndDealTimeTrend(BasePortraitParams params);
}
